package com.gxz.springboot.service.impl;

import com.gxz.springboot.Bean.Monster;
import com.gxz.springboot.mapper.MonsterMapper;
import com.gxz.springboot.service.MonsterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MonsterServiceImpl implements MonsterService {
    @Autowired
    private MonsterMapper monsterMapper;

    @Override
    public Monster getMonsterById(Integer id) {
        return monsterMapper.getMonsterById(id);
    }
}
